package com.qf.service.impl;

import com.qf.bean.Users;
import com.qf.dao.UserDao;
import com.qf.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * IntelliJ IDEA -> springboot120622
 * 2019/12/6 23:03
 *
 * @author zmyao
 * 别看，我是渣渣。
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;
    @Override
    public List<Users> findAll() {
        System.out.println("22222222222222222");
        return userDao.findAll();
    }
}
